﻿Public Class KhachHangBL
    Private khDA As KhachHangDA

    Public Sub New()
        khDA = New KhachHangDA
    End Sub

    Public Function GetData(ByVal dieukien As String) As List(Of KhachHangDT)
        Return khDA.GetData(dieukien)
    End Function

    Public Function InUp(ByVal kh As KhachHangDT, ByVal flag As Boolean) As Boolean
        Return khDA.InUp(kh, flag)
    End Function

    Public Function Delete(ByVal kh As KhachHangDT)
        Return khDA.Delete(kh)
    End Function

    Public Function GetID()
        Return khDA.GetID()
    End Function

    Public Function GetInserted()
        Return khDA.GetInserted()
    End Function
End Class
